import { IsNotEmpty } from 'class-validator';

export class FindUserParamDto {
  @IsNotEmpty({ message: '页码不能为空' })
  pageNum: number = 1;

  @IsNotEmpty({ message: '每页条数不能为空' })
  pageSize: number = 10;
}